package pap;

import pap.gui.GUIManager;
import pap.gui.UserEventListener;

public class Main {

	public static void main(String[] args) {
		Config.init(250,2);
		TimesRegister timesRegister=new TimesRegister();
		ComputationSystem system=new ComputationSystem(timesRegister);
		system.startSystem();
		
		GUIManager g = new GUIManager(BufferManager.getInstance());
		g.start();
		UserEventListener uel = new UserEventListener(g,timesRegister);
		uel.setVisible(true);
	}

}
